Add typescript-ts-mode indentation for multi-assignment decls
authorNoah Peart <noah.v.peart@gmail.com>
Fri, 19 Apr 2024 08:46:50 +0000 (01:46 -0700)
committerDmitry Gutov <dmitry@gutov.dev>
Sun, 9 Jun 2024 02:47:50 +0000 (05:47 +0300)
commitce5d004b5b093842d9c46976c50453015fe1a7e7
tree97de51c55d4c6f4471a752672e32e88cba0cbf8c
parenta486782f5ee394a432eebd1dc507ff558a8d7198
Add typescript-ts-mode indentation for multi-assignment decls

* lisp/progmodes/typescript-ts-mode.el
(typescript-ts-mode--indent-rules): Add indentation rules for
lexical and variable declarations with multiple assignments.
* test/lisp/progmodes/typescript-ts-mode-resources/indent.erts:
Add indent test for variable declarations (bug#68054).
lisp/progmodes/typescript-ts-mode.el
test/lisp/progmodes/typescript-ts-mode-resources/indent.erts